package com.breaktian.network.http;

import java.util.Map;

/**
 * Created by keke.tian on 2018/4/10.
 */

public interface RequestCallback<T> {

    void onStart(Http http);

    void onSuccess(T t, Map<String,String> hraders);

    void onFailure(HttpException e);

}
